﻿/*
 * Created by SharpDevelop.
 * User: ratul
 * Date: 3/5/2010
 * Time: 7:31 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;

namespace H264Impl.NET.NAL.NonVCLNALUnit
{
	/// <summary>
	/// Description of CodedSliceExtensionNonVCLNALUnit.
	/// </summary>
	public class CodedSliceExtensionNonVCLNALUnit : NALUnit
	{
		public CodedSliceExtensionNonVCLNALUnit(BitStream _NALUnitBitStream, bool forbiddenZeroBit, UInt32 _NALRefID) : base(_NALUnitBitStream, forbiddenZeroBit, _NALRefID, 0)
		{
			ParseRBSP();
		}
		
		bool svcExtensionFlag;
		
		private void ParseRBSP()
		{
			svcExtensionFlag = RBSP.getBit();
			if(svcExtensionFlag==true)
			{
				extractNALUnitHeaderSvcExtension();
			}
			else
				extractNALUnitHeaderMvcExtension();
		}
		
		private void extractNALUnitHeaderSvcExtension()
		{
			
		}
		
		private void extractNALUnitHeaderMvcExtension()
		{
			
		}
	}
}
